package com.yunhe.merchants.service;

import com.yunhe.common.model.mybatis.PageResult;
import com.yunhe.merchants.domain.MyProject;
import com.yunhe.merchants.model.FilterCondition;
import com.yunhe.merchants.model.IntentionProjectUpload;

import java.util.List;

/**
 * @Author: DongWenYu
 * @Date: 2021/5/7 21:03
 */
public interface IIntentionProjectService extends IMyProjectService{

    /**
     * 根据筛选条件分页查询意向项目
     * @param filterCondition
     * @param userId
     * @param page
     * @param size
     * @return com.yunhe.common.model.mybatis.PageResult
     * @create 2021/5/11 16:01
     */
    PageResult selectByFilterCondition(FilterCondition filterCondition , Long userId ,int page, int size);

    /**
     * 批量导入意向项目
     * @param intentionProjectUploads 
     * @param userId
     * @return void 
     * @create 2021/5/11 16:02
     */
    void upload(List<IntentionProjectUpload> intentionProjectUploads , Long userId , Long stationId);

    /**
     * 批量导出意向项目
     * @param ids
     * @return java.util.List<com.yunhe.merchants.model.IntentionProjectUpload>
     * @create 2021/5/11 16:02
     */
    List<MyProject> export(String ids , FilterCondition filterCondition);


}
